package com.seek.edustatistics.client;

import com.seek.commonutils.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author: wml
 * @since: 2022/4/10 20:09
 */
@Component
@FeignClient("service-edu")
public interface CourseClient {
    // 根据浏览量降序查询十条数据
    @GetMapping("/eduservice/edu-course/getPopularCourse")
    ResponseResult getPopularCourse();
}
